<html th:fragment="menu" xmlns:th="http://www.w3.org/1999/xhtml">
<template id="menu">
    <el-container>
        <el-header style="height: 90px;padding: 0px;background-color:#589ef8">
            <h1 class="header-h1"></h1>
        </el-header>
        <el-container>
            <el-aside width="240px" style="background-color: #f9fafc">
                <el-menu
                        default-active="2"
                        class="el-menu-vertical-demo"
                        @open="handleOpen"
                        background-color="#f9fafc"
                        @close="handleClose">
                    <el-menu-item index="1">
                        <i class="el-icon-user-solid"></i>
                        <span slot="title">会员管理</span>
                    </el-menu-item>
                    <el-menu-item index="2">
                        <i class="el-icon-notebook-2"></i>
                        <span slot="title">交易记录</span>
                    </el-menu-item>
                    <el-menu-item index="3">
                        <i class="el-icon-bank-card"></i>
                        <span slot="title">积分管理</span>
                    </el-menu-item>
                </el-menu>
            </el-aside>
            <el-container>
                <el-main>
                    <!-- 主体内容-->
                </el-main>
            </el-container>
        </el-container>
    </el-container>
</template>
<script type="text/javascript" src="/js/common/common-api.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script type="text/javascript" src="/js/menu-component.js"></script>
</html>
